package com.cenxi.ipdemo1.utils;

/**
 * @author admin
 */
public class IntToBinary36Utils {
    private static final Integer TEN = 10;
    private static final Integer THIRTY_SIX = 36;
    public static String change10To36(String key) {
        return new java.math.BigInteger(key, TEN).toString(THIRTY_SIX);
    }

    public static String change36To10(String key) {
        return new java.math.BigInteger(key, THIRTY_SIX).toString(TEN);
    }
}